The exceptions that need to be noted concerning the PowerMac port of
LScript concern the system()
, systemex()
, and
matchfiles()
commands. These commands can be included in any
PowerMac LScript, but their behaviors have been altered. This alteration
is largely the result of the lack of any operating system-intrinsic command
interpreter (a.k.a., shell process) that would otherwise provide functionality
required by these commands.
Both the system()
and systemex()
commands return
'nil' under the PowerMac version of LScript, and completely ignore any
parameters provided. This is because shell processing is intrinsicly unknown
to the MacOS.
The matchfiles()
command continues to function, however, it will
ignore the file pattern parameter. Again, this is because there is no available
command interpreter under the MacOS to provide pattern matching for this function.
On the PowerMac, this command returns all files located in the specified
directory, without regard to the indicated pattern.
Beyond these limitations, the PowerMac version of LScript functions identically in both features and functionality to that of other LightWave 3D platforms.